package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 教师信息
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("teacher_info")
@ApiModel(value = "TeacherInfo对象", description = "教师信息")
public class TeacherInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("职称（1是教授，2是副教授，3是讲师，4是助教）")
    @TableField("position")
    private Integer position;

    @ApiModelProperty("是否为辅导员（0为是辅导员，1为不是）")
    @TableField("is_instructor")
    private Integer isInstructor;

    @ApiModelProperty("学位（0是无学位，1是学士，2是硕士，3是博士）")
    @TableField("degree")
    private Integer degree;

    @ApiModelProperty("所属专业编号")
    @TableField("major_number")
    private String majorNumber;

    @ApiModelProperty("入职时间")
    @TableField("employment_time")
    private Date employmentTime;

    @ApiModelProperty("年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty("教师名称")
    @TableField("teacher_name")
    private String teacherName;

    @ApiModelProperty("教师编号")
    @TableField("teacher_number")
    private String teacherNumber;


}
